import { pubRequire } from '@utils/public'
// 获取直播关键字列表
export function getSearchList(obj, callBack, errBack) {
  return pubRequire('get', `/keywords`, obj, callBack, errBack)
}
// 新增直播关键字列表
export function addLiveKeyword(obj, callBack, errBack) {
  return pubRequire('post', `/keywords`, obj, callBack, errBack)
}
// 删除直播关键字
export function deleteLiveKeyword(obj, callBack, errBack) {
  return pubRequire('delete', `/keywords/${obj.id}`, obj, callBack, errBack)
}
// 编辑直播关键字
export function editLiveKeyword(obj, callBack, errBack) {
  return pubRequire('put', `/keywords/${obj.id}`, obj, callBack, errBack)
}
